package com.opdar.athena.base;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by shiju on 2017/7/8.
 */
public class Command {
    public static Map<String, String> valueOf(String[] args) {
        Map<String,String> map = new HashMap<String, String>();
        for(int i=0;i<args.length;i+=2){
            String s = args[i];
            map.put(s,args[i+1]);
        }
        return map;
    }
}
